package com.irdstudio.efp.rule.service.vo;

import java.io.Serializable;
import java.math.BigDecimal;

public class ReqAccessRuleVo implements Serializable {

	private static final long serialVersionUID = 638043283926246195L;
	/**
	 * 需求编号：xxxxxx<br/>
	 * 问题编号：<br/>
	 * 功能描述：马上征信规则迁移至风控包括如下:
	 * 黑名单准入规则、年龄准入规则、反洗钱、行员和关联人<br/>
	 * 开发人员：tiankg<br/>
	 * 创建时间：2020/5/9 20:53
	 * @Version 1.0
	 * @Since   1.0
	 * @Param
	 * @Return
	 */
	// 黑名单命中次数
	private Integer blackListNum = 0;
	// 关系人命中次数
	private Integer relatedHitsNum = 0;
	// 行员命中次数
	private Integer bankerHitsNum = 0;
	// 年龄
	private Integer age;
	// 贷款申请金额
	private BigDecimal loanAmt;
	// 贷款申请最大金额
	private BigDecimal maxLoanAmt;
	// 贷款申请最小金额
	private BigDecimal minLoanAmt;
	// 申请期限
	private Integer appTermDay;
	// 申请期限最短期限
	private Integer minTermDay;
	// 申请期限最长期限
	private Integer maxTermDay;
	// 贷款余额
	private BigDecimal cusLoanBal;
	// 最大贷款余额
	private BigDecimal maxLoanBal;
	// 人群分层
	private Integer preCustSeg;
	
	/**
	 * 需求编号：【2019D0519】（业务提的需求编号）
	 * 问题编号：【xxxxxxx】（若不是因为修复问题而新增该类，则留空）
	 * 开发人员：qiuyf
	 * 创建日期：2019年4月23日 下午7:14:34
	 * 功能描述：性别 1：男，2：女  【税E贷准入规则】
	 */
	private String sex;
	
	/**
	 * wanglihua
	 * 添加字段whetherExist判断个贷是否存在额度
	 */
	//个贷是否存在额度
	private Integer whetherExist;
	// 期限校验
	private Integer bdTerm;
	// 百度授信重复额度
	private BigDecimal bdCreditAmt;
	// 可用额度
	private BigDecimal AvailAmt;
	// 性别
	private boolean  isFemale;
    // 授信有效
	private boolean  isAvailApply;
	// 是否在途
	private boolean isDuring;
	// 是否额度失效
	private boolean isCreditInvalid;

	public boolean isFemale() {
		return isFemale;
	}
	
	public Integer getWhetherExist() {
		return whetherExist;
	}

	public void setWhetherExist(Integer whetherExist) {
		this.whetherExist = whetherExist;
	}

	public void setFemale(boolean female) {
		isFemale = female;
	}

	public Integer getBlackListNum() {
		return blackListNum;
	}

	public void setBlackListNum(Integer blackListNum) {
		this.blackListNum = blackListNum;
	}

	public Integer getRelatedHitsNum() {
		return relatedHitsNum;
	}

	public void setRelatedHitsNum(Integer relatedHitsNum) {
		this.relatedHitsNum = relatedHitsNum;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public BigDecimal getLoanAmt() {
		return loanAmt;
	}

	public void setLoanAmt(BigDecimal loanAmt) {
		this.loanAmt = loanAmt;
	}

	public BigDecimal getMaxLoanAmt() {
		return maxLoanAmt;
	}

	public void setMaxLoanAmt(BigDecimal maxLoanAmt) {
		this.maxLoanAmt = maxLoanAmt;
	}

	public BigDecimal getMinLoanAmt() {
		return minLoanAmt;
	}

	public void setMinLoanAmt(BigDecimal minLoanAmt) {
		this.minLoanAmt = minLoanAmt;
	}

	public Integer getAppTermDay() {
		return appTermDay;
	}

	public void setAppTermDay(Integer appTermDay) {
		this.appTermDay = appTermDay;
	}

	public Integer getMaxTermDay() {
		return maxTermDay;
	}

	public void setMaxTermDay(Integer maxTermDay) {
		this.maxTermDay = maxTermDay;
	}

	public BigDecimal getCusLoanBal() {
		return cusLoanBal;
	}

	public void setCusLoanBal(BigDecimal cusLoanBal) {
		this.cusLoanBal = cusLoanBal;
	}

	public BigDecimal getMaxLoanBal() {
		return maxLoanBal;
	}

	public void setMaxLoanBal(BigDecimal maxLoanBal) {
		this.maxLoanBal = maxLoanBal;
	}

	public Integer getBankerHitsNum() {
		return bankerHitsNum;
	}

	public void setBankerHitsNum(Integer bankerHitsNum) {
		this.bankerHitsNum = bankerHitsNum;
	}
	
	public Integer getPreCustSeg() {
		return preCustSeg;
	}

	public void setPreCustSeg(Integer preCustSeg) {
		this.preCustSeg = preCustSeg;
	}
	
	public Integer getBdTerm() {
		return bdTerm;
	}

	public void setBdTerm(Integer bdTerm) {
		this.bdTerm = bdTerm;
	}
	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}
		public boolean isCreditInvalid() {
		return isCreditInvalid;
	}

	public void setCreditInvalid(boolean creditInvalid) {
		isCreditInvalid = creditInvalid;
	}

	public boolean isDuring() {
		return isDuring;
	}

	public void setDuring(boolean during) {
		isDuring = during;
	}

	public boolean isAvailApply() {
		return isAvailApply;
	}

	public void setAvailApply(boolean availApply) {
		isAvailApply = availApply;
	}

	@Override
	public String toString() {
		return "ReqAccessRuleVo [blackListNum=" + blackListNum + ", relatedHitsNum=" + relatedHitsNum + ", age=" + age
				+ ", loanAmt=" + loanAmt + ", maxLoanAmt=" + maxLoanAmt + ", minLoanAmt=" + minLoanAmt + ", appTermDay="
				+ appTermDay + ", maxTermDay=" + maxTermDay + ", cusLoanBal=" + cusLoanBal + ", maxLoanBal="
				+ maxLoanBal + ", preCustSeg=" + preCustSeg + ", bdTerm=" + bdTerm + ", sex=" + sex
				+ ", whetherExist=" + whetherExist + "]";
	}

//	@Override
//	public String toString() {
//		return "ReqAccessRuleVo [loanAmt=" + loanAmt + ", maxLoanAmt=" + maxLoanAmt
//				+ ", minLoanAmt=" + minLoanAmt + ", appTermDay="
//				+ appTermDay + ", maxTermDay=" + maxTermDay + ", cusLoanBal=" + cusLoanBal + ", maxLoanBal="
//				+ maxLoanBal + ", preCustSeg=" + preCustSeg + ", bdTerm=" + bdTerm + ", sex=" + sex
//				+ ", whetherExist=" + whetherExist + "]";
//	}
	public BigDecimal getBdCreditAmt() {
		return bdCreditAmt;
	}


	public Integer getMinTermDay() {
		return minTermDay;
	}
	
	public void setMinTermDay(Integer minTermDay) {
		this.minTermDay = minTermDay;
	}
	public void setBdCreditAmt(BigDecimal bdCreditAmt) {
		this.bdCreditAmt = bdCreditAmt;
	}

	public BigDecimal getAvailAmt() {
		return AvailAmt;
	}

	public void setAvailAmt(BigDecimal availAmt) {
		AvailAmt = availAmt;
	}

}
